<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Django测试项目</title>

</head>
<body>
<div>
    <span>欢迎来到Django</span><br>
    <span>当前时间：{{ time }}</span>
</div>
<div>
    <button id="ssqbt">双色球摇奖</button>
</div>
<script>
    var bt = document.getElementById('ssqbt');
    bt.addEventListener('click',function(){
        window.location.href = 'index/';
    });

</script>
</body>
</html>